﻿using System;
using System.Collections.Generic;
using System.Text;

using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using H2.NET.Data.Common.Validates;
namespace H2.NET.Business
{
    [Table]
    [Serializable]
    public partial class m_MTO_Planning : DataObject
    {
        [Column]
        public string Sub_Line { get { return _Sub_Line; } set { _Sub_Line = value; EntityState.FieldChange("Sub_Line"); } } private string _Sub_Line; public static FieldInfo sub_Line = new FieldInfo("m_MTO_Planning", "Sub_Line");
        [Column]
        public string Please_Select { get { return _Please_Select; } set { _Please_Select = value; EntityState.FieldChange("Please_Select"); } } private string _Please_Select; public static FieldInfo please_Select = new FieldInfo("m_MTO_Planning", "Please_Select");
        [Column]
        public string Plant { get { return _Plant; } set { _Plant = value; EntityState.FieldChange("Plant"); } } private string _Plant; public static FieldInfo plant = new FieldInfo("m_MTO_Planning", "Plant");
        [Column]
        public string Storange_Location { get { return _Storange_Location; } set { _Storange_Location = value; EntityState.FieldChange("Storange_Location"); } } private string _Storange_Location; public static FieldInfo storange_Location = new FieldInfo("m_MTO_Planning", "Storange_Location");
        [Column]
        public string ICD { get { return _ICD; } set { _ICD = value; EntityState.FieldChange("ICD"); } } private string _ICD; public static FieldInfo iCD = new FieldInfo("m_MTO_Planning", "ICD");
        [Column]
        public string MRP_Controller { get { return _MRP_Controller; } set { _MRP_Controller = value; EntityState.FieldChange("MRP_Controller"); } } private string _MRP_Controller; public static FieldInfo mRP_Controller = new FieldInfo("m_MTO_Planning", "MRP_Controller");
        [Column]
        public string MRP_Type { get { return _MRP_Type; } set { _MRP_Type = value; EntityState.FieldChange("MRP_Type"); } } private string _MRP_Type; public static FieldInfo mRP_Type = new FieldInfo("m_MTO_Planning", "MRP_Type");
        [Column]
        public string Lot_Size { get { return _Lot_Size; } set { _Lot_Size = value; EntityState.FieldChange("Lot_Size"); } } private string _Lot_Size; public static FieldInfo lot_Size = new FieldInfo("m_MTO_Planning", "Lot_Size");
        [Column]
        public string Special_Procurement { get { return _Special_Procurement; } set { _Special_Procurement = value; EntityState.FieldChange("Special_Procurement"); } } private string _Special_Procurement; public static FieldInfo special_Procurement = new FieldInfo("m_MTO_Planning", "Special_Procurement");
        [Column]
        public string Procurement_Type { get { return _Procurement_Type; } set { _Procurement_Type = value; EntityState.FieldChange("Procurement_Type"); } } private string _Procurement_Type; public static FieldInfo procurement_Type = new FieldInfo("m_MTO_Planning", "Procurement_Type");
        [Column]
        public string Purchasing_Group { get { return _Purchasing_Group; } set { _Purchasing_Group = value; EntityState.FieldChange("Purchasing_Group"); } } private string _Purchasing_Group; public static FieldInfo purchasing_Group = new FieldInfo("m_MTO_Planning", "Purchasing_Group");
        [Column]
        public string Prod_Stor_Loc { get { return _Prod_Stor_Loc; } set { _Prod_Stor_Loc = value; EntityState.FieldChange("Prod_Stor_Loc"); } } private string _Prod_Stor_Loc; public static FieldInfo prod_Stor_Loc = new FieldInfo("m_MTO_Planning", "Prod_Stor_Loc");
        [Column]
        public string Storage_loc_for_EP { get { return _Storage_loc_for_EP; } set { _Storage_loc_for_EP = value; EntityState.FieldChange("Storage_loc_for_EP"); } } private string _Storage_loc_for_EP; public static FieldInfo storage_loc_for_EP = new FieldInfo("m_MTO_Planning", "Storage_loc_for_EP");
        [Column]
        public string MRP_Group { get { return _MRP_Group; } set { _MRP_Group = value; EntityState.FieldChange("MRP_Group"); } } private string _MRP_Group; public static FieldInfo mRP_Group = new FieldInfo("m_MTO_Planning", "MRP_Group");
        [Column]
        public string Minimum_Lot_Size { get { return _Minimum_Lot_Size; } set { _Minimum_Lot_Size = value; EntityState.FieldChange("Minimum_Lot_Size"); } } private string _Minimum_Lot_Size; public static FieldInfo minimum_Lot_Size = new FieldInfo("m_MTO_Planning", "Minimum_Lot_Size");
        [Column]
        public string Maximum_Lot_Size { get { return _Maximum_Lot_Size; } set { _Maximum_Lot_Size = value; EntityState.FieldChange("Maximum_Lot_Size"); } } private string _Maximum_Lot_Size; public static FieldInfo maximum_Lot_Size = new FieldInfo("m_MTO_Planning", "Maximum_Lot_Size");
        [Column]
        public string With_Qty_Stuture { get { return _With_Qty_Stuture; } set { _With_Qty_Stuture = value; EntityState.FieldChange("With_Qty_Stuture"); } } private string _With_Qty_Stuture; public static FieldInfo with_Qty_Stuture = new FieldInfo("m_MTO_Planning", "With_Qty_Stuture");
        [Column]
        public string Plant_sp_malt_status { get { return _Plant_sp_malt_status; } set { _Plant_sp_malt_status = value; EntityState.FieldChange("Plant_sp_malt_status"); } } private string _Plant_sp_malt_status; public static FieldInfo plant_sp_malt_status = new FieldInfo("m_MTO_Planning", "Plant_sp_malt_status");
        [Column]
        public string Availability_Check { get { return _Availability_Check; } set { _Availability_Check = value; EntityState.FieldChange("Availability_Check"); } } private string _Availability_Check; public static FieldInfo availability_Check = new FieldInfo("m_MTO_Planning", "Availability_Check");
        [Column]
        public string PIng_Conv_factor { get { return _PIng_Conv_factor; } set { _PIng_Conv_factor = value; EntityState.FieldChange("PIng_Conv_factor"); } } private string _PIng_Conv_factor; public static FieldInfo pIng_Conv_factor = new FieldInfo("m_MTO_Planning", "PIng_Conv_factor");
        [Column]
        public string Planning_matl_Bunit { get { return _Planning_matl_Bunit; } set { _Planning_matl_Bunit = value; EntityState.FieldChange("Planning_matl_Bunit"); } } private string _Planning_matl_Bunit; public static FieldInfo planning_matl_Bunit = new FieldInfo("m_MTO_Planning", "Planning_matl_Bunit");
        [Column]
        public string Planning_Material { get { return _Planning_Material; } set { _Planning_Material = value; EntityState.FieldChange("Planning_Material"); } } private string _Planning_Material; public static FieldInfo planning_Material = new FieldInfo("m_MTO_Planning", "Planning_Material");
        [Column]
        public string Planning_Plant { get { return _Planning_Plant; } set { _Planning_Plant = value; EntityState.FieldChange("Planning_Plant"); } } private string _Planning_Plant; public static FieldInfo planning_Plant = new FieldInfo("m_MTO_Planning", "Planning_Plant");
        [Column]
        public string Strategy_Group { get { return _Strategy_Group; } set { _Strategy_Group = value; EntityState.FieldChange("Strategy_Group"); } } private string _Strategy_Group; public static FieldInfo strategy_Group = new FieldInfo("m_MTO_Planning", "Strategy_Group");
        [Column]
        public string Type { get { return _Type; } set { _Type = value; EntityState.FieldChange("Type"); } } private string _Type; public static FieldInfo type = new FieldInfo("m_MTO_Planning", "Type");
        [Column]
        public string Fix_Lot_size { get { return _Fix_Lot_size; } set { _Fix_Lot_size = value; EntityState.FieldChange("Fix_Lot_size"); } } private string _Fix_Lot_size; public static FieldInfo fix_Lot_size = new FieldInfo("m_MTO_Planning", "Fix_Lot_size");
        [Column]
        public string Unlimited { get { return _Unlimited; } set { _Unlimited = value; EntityState.FieldChange("Unlimited"); } } private string _Unlimited; public static FieldInfo unlimited = new FieldInfo("m_MTO_Planning", "Unlimited");
        [Column]
        public string Overdely_tol { get { return _Overdely_tol; } set { _Overdely_tol = value; EntityState.FieldChange("Overdely_tol"); } } private string _Overdely_tol; public static FieldInfo overdely_tol = new FieldInfo("m_MTO_Planning", "Overdely_tol");
        [Column]
        public string Rounding_value { get { return _Rounding_value; } set { _Rounding_value = value; EntityState.FieldChange("Rounding_value"); } } private string _Rounding_value; public static FieldInfo rounding_value = new FieldInfo("m_MTO_Planning", "Rounding_value");
        [Column]
        public string GR_Processing_Time { get { return _GR_Processing_Time; } set { _GR_Processing_Time = value; EntityState.FieldChange("GR_Processing_Time"); } } private string _GR_Processing_Time; public static FieldInfo gR_Processing_Time = new FieldInfo("m_MTO_Planning", "GR_Processing_Time");
        [Column]
        public string In_house_production { get { return _In_house_production; } set { _In_house_production = value; EntityState.FieldChange("In_house_production"); } } private string _In_house_production; public static FieldInfo in_house_production = new FieldInfo("m_MTO_Planning", "In_house_production");
        [Column]
        public string Planned_delivery_time { get { return _Planned_delivery_time; } set { _Planned_delivery_time = value; EntityState.FieldChange("Planned_delivery_time"); } } private string _Planned_delivery_time; public static FieldInfo planned_delivery_time = new FieldInfo("m_MTO_Planning", "Planned_delivery_time");
        [Column]
        public string Safety_time_act_cov { get { return _Safety_time_act_cov; } set { _Safety_time_act_cov = value; EntityState.FieldChange("Safety_time_act_cov"); } } private string _Safety_time_act_cov; public static FieldInfo safety_time_act_cov = new FieldInfo("m_MTO_Planning", "Safety_time_act_cov");
        [Column]
        public string Safety_Stock { get { return _Safety_Stock; } set { _Safety_Stock = value; EntityState.FieldChange("Safety_Stock"); } } private string _Safety_Stock; public static FieldInfo safety_Stock = new FieldInfo("m_MTO_Planning", "Safety_Stock");
        [Column]
        public string Safety_time_ind { get { return _Safety_time_ind; } set { _Safety_time_ind = value; EntityState.FieldChange("Safety_time_ind"); } } private string _Safety_time_ind; public static FieldInfo safety_time_ind = new FieldInfo("m_MTO_Planning", "Safety_time_ind");
        [Column]
        public string ABC_Indicator { get { return _ABC_Indicator; } set { _ABC_Indicator = value; EntityState.FieldChange("ABC_Indicator"); } } private string _ABC_Indicator; public static FieldInfo aBC_Indicator = new FieldInfo("m_MTO_Planning", "ABC_Indicator");
        [Column]
        public string Individual_coll { get { return _Individual_coll; } set { _Individual_coll = value; EntityState.FieldChange("Individual_coll"); } } private string _Individual_coll; public static FieldInfo individual_coll = new FieldInfo("m_MTO_Planning", "Individual_coll");
        [Column]
        public string SchedMargin_key { get { return _SchedMargin_key; } set { _SchedMargin_key = value; EntityState.FieldChange("SchedMargin_key"); } } private string _SchedMargin_key; public static FieldInfo schedMargin_key = new FieldInfo("m_MTO_Planning", "SchedMargin_key");
        [Column]
        public string Selection_method { get { return _Selection_method; } set { _Selection_method = value; EntityState.FieldChange("Selection_method"); } } private string _Selection_method; public static FieldInfo selection_method = new FieldInfo("m_MTO_Planning", "Selection_method");
        [Column]
        public string Period_Indicator { get { return _Period_Indicator; } set { _Period_Indicator = value; EntityState.FieldChange("Period_Indicator"); } } private string _Period_Indicator; public static FieldInfo period_Indicator = new FieldInfo("m_MTO_Planning", "Period_Indicator");
        [Column]
        public string Forecast_model { get { return _Forecast_model; } set { _Forecast_model = value; EntityState.FieldChange("Forecast_model"); } } private string _Forecast_model; public static FieldInfo forecast_model = new FieldInfo("m_MTO_Planning", "Forecast_model");
        [Column]
        public string Consumption_mode { get { return _Consumption_mode; } set { _Consumption_mode = value; EntityState.FieldChange("Consumption_mode"); } } private string _Consumption_mode; public static FieldInfo consumption_mode = new FieldInfo("m_MTO_Planning", "Consumption_mode");
        [Column]
        public string Bwd_consumption_per { get { return _Bwd_consumption_per; } set { _Bwd_consumption_per = value; EntityState.FieldChange("Bwd_consumption_per"); } } private string _Bwd_consumption_per; public static FieldInfo bwd_consumption_per = new FieldInfo("m_MTO_Planning", "Bwd_consumption_per");
        [Column]
        public string Fwd_consumption_per { get { return _Fwd_consumption_per; } set { _Fwd_consumption_per = value; EntityState.FieldChange("Fwd_consumption_per"); } } private string _Fwd_consumption_per; public static FieldInfo fwd_consumption_per = new FieldInfo("m_MTO_Planning", "Fwd_consumption_per");
        [Column]
        public string Tot_repl_lead_time { get { return _Tot_repl_lead_time; } set { _Tot_repl_lead_time = value; EntityState.FieldChange("Tot_repl_lead_time"); } } private string _Tot_repl_lead_time; public static FieldInfo tot_repl_lead_time = new FieldInfo("m_MTO_Planning", "Tot_repl_lead_time");

    }
}
